package com.ladlee.parking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_parking")
public class SysParking extends Model<SysParking> {

    private static final long serialVersionUID = 1844398121725058410L;

    @TableId(value = "parking_id", type = IdType.AUTO)
    private Integer parkingId;

    /**
     * 车位编号
     */
    private String parkingCode;

    private String parkingUser;

    private String parkingPhone;

    private String carNum;

    private String parkingAmount;

    /**
     * 费用类型(0:临停车,1:月租车,2:年租车)
     */
    private Integer parkingType;

    private Date parkingTime;

    private Date parkingEnd;

    private Date createTime;

    private Integer createUser;

    @TableLogic
    private String delFlag;

}
